package com.spring.oaassist.web.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.spring.oaassist.web.model.Task;

public interface TaskMapper {

	List<Task> queryTaskList(Map<String, Object> parm);

	int insertTask(Task task);
	
	int deleteTask(Task task);

	int insertTaskDistribute(Task task);
	
	List<Map<String,Object>> queryDistributeList(@Param(value="id") String id);
	
	List<Map<String,Object>> queryTaskDaily(Map<String, Object> parm);
	
	int overTask(Task task);
	
}
